package router

import (
	"github.com/gin-gonic/gin"
	v1 "guns-go/controller/v1"
)

func InitSysConfigRouter(Router *gin.RouterGroup) (R gin.IRoutes) {
	ConfigRouter := Router.Group("sysConfig")
	{
		ConfigRouter.POST("add", v1.SysConfigAdd)
		ConfigRouter.POST("edit", v1.SysConfigEdit)
		ConfigRouter.POST("delete", v1.SysConfigDelete)
		ConfigRouter.GET("page", v1.SysConfigPage)
	}
	return ConfigRouter
}
